package com.eascs.o2o.recruit.service.impl;

import java.util.Date;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.eascs.app.dao.JdbcSession;
import com.eascs.o2o.recruit.entity.FeedbackEntity;
import com.eascs.o2o.recruit.service.FeedbackService;

@Service("feedbackServiceImpl")
public class FeedbackServiceImpl implements FeedbackService{

	@Autowired
	@Qualifier("wxSession")
	protected JdbcSession jdbcSession;
	
	@Override
	public int saveFeedback(FeedbackEntity feedback) {
		feedback.setCreateTime(new Date());
		return jdbcSession.insert(feedback);
	}

}
